<?php $this->load->view("admin/header");?>

	<p>&nbsp;</p>
	<p>&nbsp;</p>
	<p>&nbsp;</p>
	<p>&nbsp;</p>
  <div class="box" style="width:500px; height:500px; text-align:left; margin:0 auto;">

		<div id="content" class="box">
		
			<h1><?=$this->lang->line('forgotpwd_headline');?></h1>

			<?php 
			    if($msg){
			        echo $msg;
			    }else{
			        echo "<br />";
                }
            ?>
			
            <?php echo form_open('admin/auth/forgotpw'); ?>
				<table class="nostyle">
					<tr>
						<td style="width:70px;"><?=$this->lang->line('forgotpwd_email');?>:</td>
						<td><input type="text" size="40" name="email" class="input-text" value="<?php echo $input_email; ?>"/></td>
					</tr>
                    <tr>
                        <td style="width:70px;"></td>
						<td><img src="library/captcha/visual-captcha.php" onclick="var now=new Date();this.src='library/captcha/visual-captcha.php#'+now.getTime();" style="cursor:pointer;"></td>
					
                    </tr>
                    <tr>
                        <td style="width:70px;"></td>
						<td>Enter the code exactly as you see it in the image:<br/><input type="text" size="40" name="user_code" class="input-text" value=""/></td>
					
                    </tr>                    
					<tr>
                        <td></td>
						<td>                            
                            <div style="float: right;">
                                <input type="submit" class="input-submit" name="forgot_submit" value="<?=$this->lang->line('forgotpwd_submit');?>" /> &nbsp;
                                <input type="button" class="input-submit-02" name="login_cancel" value="<?=$this->lang->line('forgotpwd_return');?>" onclick="window.location='<?php echo site_url("admin/auth/login"); ?>'" />
                            </div>
                        </td>
					</tr>
				</table>
			<?php echo form_close(); ?>

        </div> 

	</div> 

<?php $this->load->view("admin/footer.php");?>